#pragma once

class IGraphicsTask abstract
{
protected:
	ThreadJoin finishEvent;
public:
	virtual bool execute() = 0;
	virtual void finish() = 0;
	virtual bool isPriorityTask() { return false; }

	ThreadJoin& getFinish() { return finishEvent; }
};